package com.shop.cereshop.commons.domain.disable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import javax.persistence.Table;
import java.time.LocalDateTime;

@Data
@Table(name = "buyer_disable_time")
public class BuyerDisableTime {

    /**
     * 封禁用户ID (主键)
     */

    @TableId(type = IdType.AUTO)
    private Long disableId;

    /**
     * 被封禁用户ID
     */

    private Long buyerId;

    /**
     * 封禁时长
     */
    private LocalDateTime disableTime;

    /**
     * 封禁起始时间
     */
    private LocalDateTime creatTime;
}
